package cn.lg.soar.system.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class DictItemVo {

    @Schema(description = "字典值")
    private Integer value;

    @Schema(description = "字典标签")
    private String label;

    @Schema(description = "元数据（可配置其他参数）")
    private String metadata;

    @Schema(description = "是否禁用")
    private Boolean disabled;

    public DictItemVo(){}

    public DictItemVo(Integer value, String label){
        this.value = value;
        this.label = label;
    }

}
